package com.dkm.ec.activity.domain;

import com.dkm.base.core.helper.SpringHelper;
import com.dkm.biz.domain.AbstractDomain;
import com.dkm.ec.activity.persistence.dao.TScheduleLockDao;
import com.dkm.ec.activity.persistence.entity.TScheduleLockPo;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

/**
 * Created by fanjinyuan on 2017/8/18.
 */
@SuppressWarnings("serial")
@Service
@Scope("prototype")
public class TScheduleLock extends AbstractDomain<String, TScheduleLockPo> {

    private TScheduleLockDao scheduleLockDao = null;

    @Override
    protected void init() {
        scheduleLockDao = SpringHelper.getBean(TScheduleLockDao.class);
        setDao(scheduleLockDao);
    }


}
